import { createRouter, createWebHistory} from 'vue-router'


import Ybp from '@/components/Ybp'
import Jsgl from '@/components/Jsgl'
import Xsgl from '@/components/Xsgl'
import Gggl from '@/components/Gggl'
import Xtpz from '@/components/Xtpz'
import Ptfwq from '@/components/Ptfwq'
import Wtlb from '@/components/Wtlb'
import Zjtm from '@/components/Zjtm'
import Drdctm from '@/components/Drdctm'
import Bslb from '@/components/Bslb'
import Cjbs from '@/components/Cjbs'
import Kclb from '@/components/Kclb'
import Cjkc from '@/components/Cjkc'

const router = createRouter({
    history : createWebHistory(),
    routes:[
    {   
        path:'/',
        name:'仪表盘',
        component:Ybp
    },{
        path:'/jsgl',
        name:'教师管理',
        component:Jsgl
    },{
        path:'/xsgl',
        name:'学生管理',
        component:Xsgl
    },{
        path:'/gggl',
        name:'公告管理',
        component:Gggl
    },{
        path:'/xtpz',
        name:'系统配置',
        component:Xtpz
    },{
        path:'/ptfwq',
        name:'判题服务器',
        component:Ptfwq
    },{
        path:'/wtlb',
        name:'问题列表',
        component:Wtlb
    },{
        path:'/zjtm',
        name:'增加题目',
        component:Zjtm
    },{
        path:'/drdctm',
        name:'导入引出题目',
        component:Drdctm
    },{
        path:'/bslb',
        name:'比赛列表',
        component:Bslb
    },{
        path:'/cjbs',
        name:'创建比赛',
        component:Cjbs
    },{
        path:'/kclb',
        name:'课程列表',
        component:Kclb
    },{
        path:'/cjkc',
        name:'创建课程',
        component:Cjkc
    }
  ]
}) 


export default router;